package com.hzw.saas.web.app.user.dto;

import com.hzw.saas.api.user.bo.UserAccountBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/3/1 14:34
 */
@Data
@ApiModel(value = "第三方登录返回结果")
public class TokenInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "access_token")
    private String accessToken;
    @ApiModelProperty(value = "token_type")
    private String tokenType;
    @ApiModelProperty(value = "刷新token")
    private String refreshToken;
    @ApiModelProperty(value = "access_token 有效期(单位：秒)")
    private Integer expiresIn;
    @ApiModelProperty(value = "1：已绑定，0：未绑定")
    private boolean bind;
    @ApiModelProperty(value = "用户账户信息")
    private UserAccountBO userAccountBO;
    @ApiModelProperty(value = "openId")
    private String openId;
    @ApiModelProperty(value = "unionId")
    private String unionId;
    @ApiModelProperty(value = "普通用户昵称")
    private String nickname;

}
